package com.yuhanginfo.modules.sys.entity;

import java.util.ArrayList;
import java.util.List;

import com.google.common.collect.Lists;

public class StoreArea {
	private String id;// 区域ID
	private String area;// 区域名称
	@SuppressWarnings("unused")
	private List<String> storeIds;// 门店Id
	private List<Store> storeList = new ArrayList<>();
	
	@SuppressWarnings("unused")
	private List<String> disCheckStoreIds;// 不可勾选门店Id
	private List<Store> disCheckStoreList = new ArrayList<>();//不可勾选的门店
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getArea() {
		return area;
	}

	public void setArea(String area) {
		this.area = area;
	}

	public List<Store> getStoreList() {
		return storeList;
	}

	public void setStoreList(List<Store> storeList) {
		this.storeList = storeList;
	}
	
	public List<Store> getDisCheckStoreList() {
		return disCheckStoreList;
	}

	public void setDisCheckStoreList(List<Store> disCheckStoreList) {
		this.disCheckStoreList = disCheckStoreList;
	}

	public List<String> getStoreIds() {
		List<String> storeIdList = Lists.newArrayList();
		for (Store store : storeList) {
			storeIdList.add(store.getId());
		}
		return storeIdList;
	}
	
	public void setStoreIds(List<String> storeIds) {
		this.storeIds = storeIds;
	}

	public List<String> getDisCheckStoreIds() {
		List<String> storeIdList = Lists.newArrayList();
		for (Store store : disCheckStoreList) {
			storeIdList.add(store.getId());
		}
		return storeIdList;
	}

	public void setDisCheckStoreIds(List<String> disCheckStoreIds) {
		this.disCheckStoreIds = disCheckStoreIds;
	}

}
